<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="__WX__/mui/css/mui.min.css" rel="stylesheet" />
		<link href="__WX__/css/iconfont.css" rel="stylesheet" />
	</head>
	<style>
		ul li{
			list-style: none;
			padding:0;
			margin:0;
			border:0;
		}
		.mui-bar-tab .mui-tab-item.mui-active{
			color:#53caff	
		}
		
	</style>
	<body style="margin:0px;background-color:#fff">
		<script src="__WX__/js/jquery.min.js"></script>
		<div class="mui-content" style="background-color:#fff">
			<header class="mui-bar mui-bar-nav" >
			  <a class="mui-icon mui-icon-left-nav mui-pull-left" style="color:#53caff" href="javascript:history.back(-1)"></a>
			  <a class="mui-icon mui-icon-reply mui-pull-right"></a>
			  <h1 class="mui-title">我的订单</h1>
			</header>
			<ul class="mui-table-view" style="margin-top:40px;">
				<li class="mui-table-view-cell mui-hidden">
					<div id="M_Toggle" class="mui-switch mui-active">
						<div class="mui-switch-handle"></div>
					</div>
				</li>


				{if condition="isset($table1s) &&  !empty($table1s)"}
				{volist name="table1s" id="v"}
				<li class="mui-table-view-cell mui-media">
					<a href="{:url('Order/shorderdetail')}?mid={$v.manage.id}&&tid={$v.id}">
						<img class="mui-media-object mui-pull-right" src="__WX__/img/chakan.png">
						<div class="mui-media-body">
							订单编号：{$v.order_num}
							<p class='mui-ellipsis'>下单时间：{:date('Y-m-d H:i:s',$v['create_time'])}</p>

							<p class='mui-ellipsis'>姓名：{$v.register.name}</p>

							<p class='mui-ellipsis'>
							<p class='mui-ellipsis' style="float:left">押金：{$v.manage.money}元</p>
							</p>
						</div>
					</a>
					<div class="mui-media-body"  style="border-bottom:1px solid #ccc;text-align: center;">
						{if condition="$v.status === 1"}
						<p style="color:#53caff">待商户确认...</p>
						{elseif condition="$v.status === 2"/}
						<p style="color:#53caff">商户已确认</p>
						{elseif condition="$v.status === 3"/}
						<p style="color:#53caff">押金退还申请中...</p>
						{elseif condition="$v.status === 4"/}
						<p style="color:#53caff">押金已退还</p>
						{/if}
						<!--
                        <p style="color:#53caff">押金退还申请中...</p>
                        <p style="color:#53caff">押金已退还</p>-->
					</div>
				</li>
				{/volist}
				{/if}

				{if condition="isset($table2s) &&  !empty($table2s)"}
				{volist name="table2s" id="v"}
				<li class="mui-table-view-cell mui-media">
					<a href="{:url('Order/shorderdetail')}?mid={$v.manage.id}&&tid={$v.id}">
						<img class="mui-media-object mui-pull-right" src="__WX__/img/chakan.png">
						<div class="mui-media-body">
							订单编号：{$v.order_num}
							<p class='mui-ellipsis'>下单时间：{:date('Y-m-d H:i:s',$v['create_time'])}</p>

							<p class='mui-ellipsis'>姓名：{$v.register.name}</p>

							<p class='mui-ellipsis'>
							<p class='mui-ellipsis' style="float:left">押金：{$v.manage.money}元</p>
							</p>

						</div>
					</a>
					<div class="mui-media-body"  style="border-bottom:1px solid #ccc;text-align: center;;">
						{if condition="$v.status === 1"}
						<p style="color:#53caff">待商户确认...</p>
						{elseif condition="$v.status === 2"/}
						<p style="color:#53caff">商户已确认</p>
						{elseif condition="$v.status === 3"/}
						<p style="color:#53caff">押金退还申请中...</p>
						{elseif condition="$v.status === 4"/}
						<p style="color:#53caff">押金已退还</p>
						{/if}
						<!--
                        <p style="color:#53caff">待押金退还申请中...</p>
                        <p style="color:#53caff">待押金已退还</p>-->
					</div>
				</li>
				{/volist}
				{/if}

				{if condition="isset($table3s) &&  !empty($table3s)"}
				{volist name="table3s" id="v"}
				<li class="mui-table-view-cell mui-media">
					<a href="{:url('Order/shorderdetail')}?mid={$v.manage.id}&&tid={$v.id}">
						<img class="mui-media-object mui-pull-right" src="__WX__/img/chakan.png">
						<div class="mui-media-body">
							订单编号：{$v.order_num}
							<p class='mui-ellipsis'>下单时间：{:date('Y-m-d H:i:s',$v['create_time'])}</p>

							<p class='mui-ellipsis'>姓名：{$v.register.name}</p>

							<p class='mui-ellipsis'>
							<p class='mui-ellipsis' style="float:left">押金：{$v.manage.money}元</p>
							</p>

						</div>
					</a>
					<div class="mui-media-body"  style="border-bottom:1px solid #ccc;text-align: center;;">
						{if condition="$v.status === 1"}
						<p style="color:#53caff">待商户确认...</p>
						{elseif condition="$v.status === 2"/}
						<p style="color:#53caff">商户已确认</p>
						{elseif condition="$v.status === 3"/}
						<p style="color:#53caff">押金退还申请中...</p>
						{elseif condition="$v.status === 4"/}
						<p style="color:#53caff">押金已退还</p>
						{/if}
						<!--
                        <p style="color:#53caff">待押金退还申请中...</p>
                        <p style="color:#53caff">待押金已退还</p>-->
					</div>
				</li>
				{/volist}
				{/if}

				{if condition="isset($table4s) &&  !empty($table4s)"}
				{volist name="table3s" id="v"}
				<li class="mui-table-view-cell mui-media">
					<a href="{:url('Order/shorderdetail')}?mid={$v.manage.id}&&tid={$v.id}">
						<img class="mui-media-object mui-pull-right" src="__WX__/img/chakan.png">
						<div class="mui-media-body">
							订单编号：{$v.order_num}
							<p class='mui-ellipsis'>下单时间：{:date('Y-m-d H:i:s',$v['create_time'])}</p>

							<p class='mui-ellipsis'>姓名：{$v.register.name}</p>

							<p class='mui-ellipsis'>
							<p class='mui-ellipsis' style="float:left">押金：{$v.manage.money}元</p>
							</p>

						</div>
					</a>
					<div class="mui-media-body"  style="border-bottom:1px solid #ccc;text-align: center;;">
						{if condition="$v.status === 1"}
						<p style="color:#53caff">待商户确认...</p>
						{elseif condition="$v.status === 2"/}
						<p style="color:#53caff">商户已确认</p>
						{elseif condition="$v.status === 3"/}
						<p style="color:#53caff">押金退还申请中...</p>
						{elseif condition="$v.status === 4"/}
						<p style="color:#53caff">押金已退还</p>
						{/if}
						<!--
                        <p style="color:#53caff">待押金退还申请中...</p>
                        <p style="color:#53caff">待押金已退还</p>-->
					</div>
				</li>
				{/volist}
				{/if}
			</ul>
			
			
		
		
		</div>
	</body>
	<script src="__WX__/mui/js/mui.min.js"></script>
</html>
